<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更新</title>
</head>
<body>
<h3>更新信息</h3>
<br>
<form action="update" method="post">
    <table>
        <tr>
            <input type="hidden"  id="id"  name="id"  value="${resume.id}" >
            <td><label>姓名：</label></td>
            <td><input type="text" id="name" name="name"  value="${resume.name}"></td>
        </tr>
        <tr>
            <td><label>地址：</label></td>
            <td><input type="text" id="address" name="address" value="${resume.address}" ></td>
        </tr>
        <tr>
            <td><label>电话：</label></td>
            <td><input type="text" id="phone" name="phone"  value="${resume.phone}" ></td>
        </tr>
        <tr>
            <td><input id="submit" type="submit" value="提交"   ></td>
            <td><input id="button" type="button" value="返回"  onclick="goback()"  ></td>
        </tr>
    </table>
</form>
</body>

<script>
    function goback() {
        window.location.href="queryAll" ;
    }
</script>
</html>
